﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class PopTrack: AbstractTrack
    {
        private string _album;
          public PopTrack()
        { }

         public PopTrack(string name, int length, string album)
            : base(name, length)
        {
            _album = album;
        }

        public string Album
        {
            get { return _album; }
            set { _album = value; }
        }
        public override string ToString()
        {
            return base.ToString() + ", альбом: " + _album;
        }
    }
}
